home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 June: Reference Library / Dev.CD Jun 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 24 / develop issue 24 code / scriptable database 1.0a15.sea / Scriptable Database 1.0a15 / Release notes / Release notes
Encoding:
Text File  |  1996-02-20  |  3.0 KB  |  74 lines  |  [TEXT/CWIE]

  1. Version 1.0a15:    (CW7)                                                8 February 1996
  2. ---------------------
  3.  
  4. Cleaned up version of 1.0a14 for CW7.  No new features, but the code is nicer.
  5.  
  6. IMPORTANT:  If you run this version with the CW source-level debugger, you may find
  7. that the exception handlers don't work right (abort is called rather than the exception
  8. handlers).  To work around this bug, recompile TestMain.cp and run again.  Everything
  9. seems to work fine all the time if the source-level debugger is not used, and the application
  10. produced by MetroWerks that doesn't work with the debugger is ResEqual with the
  11. application that does work with the debugger.
  12.  
  13.  
  14. Version 1.0a14:    (CW7)                                                31 January 1996
  15. ---------------------
  16.  
  17. Compiled on CodeWarrior 7--revised to use MetroWerks' C++ exception mechanism.
  18. Forked off version a14 when it was stable enough to keep, but before it was
  19. stable enough to release.
  20.  
  21.  
  22. Version 1.0a13:    (CW6)                                                16 January 1996
  23. ---------------------
  24.  
  25. Implemented multiple-event transactions, so that it is now possible to
  26. use "with transaction" constructs in scripts, as follows:
  27.  
  28.     tell application "Scriptable Database"
  29.         with transaction
  30.             set x to make item at document 1 with properties {name: "Untitled collection"}
  31.             make item at x with properties {name: "Collection element 1"}
  32.             make item at x with properties {name: "Collection element 2"}
  33.             make item at x with properties {name: "Collection element 3"}
  34.         end transaction
  35.     end tell
  36.  
  37. Fixed the "properties" property so that the dynamic properties from database
  38. elements are included in the result, as follows:
  39.  
  40.     tell application "Scriptable Database"
  41.         properties of item 1 of document 1
  42.     end tell
  43.  
  44. If an unopened document is referenced from a script, the Scriptable Database
  45. will now search the entire disk for a Scriptable Database document with the
  46. specified name and automatically open it.  This feature is somewhat contrary
  47. to the normal AppleScript guidelines, but it is handy for the Scriptable
  48. Database, and will be particularly so when we start to automatically close
  49. documents that haven't been referenced in a while.  (n.b. to explicitly close
  50. a document that might not be open, use "close every document whose name is...";
  51. using the script "close document...", then you might cause the Scriptable
  52. Database to search for the document, open it, and then close it again.)
  53.  
  54. Fixed the C++ snafu with reference templates that required defining AddReference
  55. and RemoveReference everywhere (which improves the template situation a lot,
  56. but I've decided that the const and update templates are not worthwhile, and
  57. plan to remove them completely in a future version).
  58.  
  59. Replaced the crufty #define-based list declarations (in List.cp and List.h) with
  60. list templates (in ListTemplate.h).
  61.  
  62. Replaced direct calls to the filesystem with a wrapper classes, TFSSpecification
  63. and TOpenFileRefNum.
  64.  
  65.  
  66. Version 1.0a12:                                                    4 December 1995
  67. ---------------
  68. Implemented the "move" event.
  69.  
  70.  
  71. Version 1.0a11:
  72. ---------------
  73. This is the version that appeared on the CD included with develop issue 24.
  74.